FROM gcr.io/oss-fuzz-base/base-builder-python

# Install dependencies
RUN apt-get update && apt-get install -y \
    build-essential \
    python3-dev

# Copy source code
COPY . /src

# Set working directory
WORKDIR /src

# Build fuzzers
RUN python3 -m pip install atheris
RUN python3 -c "import atheris; print('Atheris installed successfully')"

# Copy build script if exists
COPY build.sh $SRC/ 